package com.sky.mapper.user;


import com.sky.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 用户模块的持久层接口
 *
 * @Author mr.li
 * @Date 2025/7/27 15:57
 */
@Mapper
public interface UserMapper  {




    @Select("select * from user where openid=#{openId}")
    User getUserOpenId(@Param("openId") String openId);



    void insert(User user);
}
